using Microsoft.AspNetCore.Http;
using UniversalAdminSystem.Application.FileStorage.DTOs;

namespace UniversalAdminSystem.Application.FileStorage.Interfaces;

public interface IFileStorageService
{
    Task<FileInfo> SaveAsync(IFormFile file);
    Task<Stream> DownloadAsync(string fileName);
    Task DeleteAsync(string fileName);
    Task<IEnumerable<FileDto>> ListFilesAsync();
} 